package com.ryskoo.operation.message.domain;

import com.ryskoo.framework.core.bean.BasicPO;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 网站留言
 * @author JackHou
 */
@Entity
@Table(name = "OPERATION_WEBSITE_MESSAGE")
public class MessagePO extends BasicPO {

    /** 姓名 */
    @Column(name = "name",columnDefinition = "varchar",length = 20)
    private String name;
    /** 电话 */
    @Column(name = "telphone",columnDefinition = "varchar",length = 20)
    private String telphone;
    /** 留言内容 */
    @Column(name = "message",columnDefinition = "varchar",length = 255)
    private String message;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTelphone() {
        return telphone;
    }

    public void setTelphone(String telphone) {
        this.telphone = telphone;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
